<?php 
  $list = $this->data;
  foreach ($list as $key => $value) {
  	$name = $value['name'];
  	$id = $value['id'];
  }
?>

<div id='formedit'>

	<form method="post" class="form" action="" enctype="multipart/form-data">
      <fieldset>
        <legend>Chỉnh sửa loại kênh</legend>
        
        <p class='row-form'>
          <label class='title-row' for="City">Tên loại kênh:</label>
          <input style="width:250px;" id="channel" type="text" value="<?php echo $name; ?>" name="name"  />
        </p>
        
        <p class='row-form'>
        	<input class="blue" style="margin-bottom:-10px;padding:5px;" type="submit" name="submit" value="Chỉnh sửa">
        	<input class="blue" style="margin-bottom:-10px;padding:5px;" type="button" value="Hủy bỏ" onclick='removeFormEdit()'>
        </p>
      </fieldset>
      <input type="hidden" id="temp" name="id" value="<?php echo $id; ?> ">
	</form>
</div>